package com.zhijian.medical.entity.vo.request;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * 实验流程-结果新增or修改vo
 *
 * @author HCG
 * @version 1.0
 * @date 2022/4/8
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Api(tags = "实验流程-结果新增or修改vo")
public class ExperimentProcessResultSaveOrUpdateVo {

    /**
     * 实验流程id
     */
    @ApiModelProperty(value = "实验流程id",hidden = true)
    private Long experimentProcessId;

    /**
     * 设备id
     */
    @ApiModelProperty("设备id")
    private Long deviceId;

    /**
     * 病理号
     */
    @ApiModelProperty("病理号")
    private String blh;

    /**
     * 项目
     */
    @ApiModelProperty("项目")
    private String project;

    /**
     * 项目列表
     */
    @ApiModelProperty("项目列表")
    @NotNull(message = "项目列表不能为空")
    @Size(min = 1, message = "项目列表至少为1条")
    private List<ExperimentProcessResultDetailSaveOrUpdateVo> experimentProcessResultDetailList;
}
